<template>
  <div class="classPage">
    <div class="title">模板分类选择</div>
    <p class="tip">说明:无设计稿用户选择类别再选择模板，已有设计稿用户选择自定义</p>
    <div class="content">
      <el-tabs :tab-position="tabPosition" style="height: 500px" class="demo-tabs" type="border-card">
        <el-tab-pane label="零售类">
          <List></List>
        </el-tab-pane>
        <el-tab-pane label="服装类">
          <List></List>
        </el-tab-pane>
        <el-tab-pane label="品牌类">
          <List></List>
        </el-tab-pane>
      </el-tabs>
      <div class="btn">
        <el-button type="primary">下一步</el-button>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
  import { ref } from 'vue'
  import List from './components/List/index.vue'
  const tabPosition = ref('left')

</script>

<style scoped lang="scss">
  .classPage {
    .title {
      font-size: 24px;
      font-weight: bold;
      text-align: center;
      margin: 0 0 30px;
      padding-top: 20px;
    }
    :deep(.tabs__header) {
      height: 100% !important;
    }
    .tip {
      text-align: center;
    }
    .content {
      width: 100%;
      height: max-content;
      max-width: 1200px;
      padding: 20px;
      margin: 0 auto;
    }
    .btn {
      width: max-content;
      margin: 40px auto 0;
    }
  }
</style>
